\documentclass{article}

\usepackage{graphicx}

\begin{document}

\includegraphics{this-name-is-really-long}

\includegraphics{so-is-this-one-and-it-pushes-errors-over-the-edge}

\includegraphics{this-triggers-two-paragraph-logic}

\end{document}
